package com.itheima.variable;

/**
 * @author yuanying
 * @date 2025/7/22 -  10:00
 */
public class WhileDemo1 {
    public static void main(String[] args) {
        double peakHight=8848860;
        double paper=0.1;
        int count=0;
         while (paper<peakHight){
             paper*=2;
             count++;
         }
        System.out.println("总折叠次数"+count);
    }
}
